# $Id: PKGBUILD 55397 2011-09-11 21:15:58Z spupykin $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: see .contrib

pkgname=libconfig
pkgver=1.4.9
pkgrel=1
pkgdesc="C/C++ Configuration File Library"
arch=('i686' 'x86_64')
url="http://hyperrealm.com/libconfig/libconfig.html"
license=('LGPL')
depends=('gcc-libs' 'texinfo')
install=$pkgname.install
options=('!libtool' '!emptydirs' 'zipman')
source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
md5sums=('b6ee0ce2b3ef844bad7cac2803a90634')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  rm "$pkgdir/usr/share/info/dir"
}

# vim:set ts=2 sw=2 et:
